package com.hopes.bizz.risk.parkgis.vo;

import com.hopes.boss.admin.api.resolver.DictResolver;
import com.hopes.boss.admin.api.resolver.enums.AdminDictEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 风险分析等级VO
 * @time 2023/11/13 13:40
 */
@Data
public class RiskLevelVO implements Serializable {

    private static final long serialVersionUID = -2187055126491537433L;

    /**
     * 企业
     */
    private Long orgId;

    /**
     * 风险等级对象
     */
    private List<OrgLevelVO> riskLevelList;


    public String getOrgIdStr() {
        return DictResolver.getItemLabelByValue(AdminDictEnum.sys_company, this.getOrgId());
    }


}
